home *** CD-ROM | disk | FTP | other *** search
- on(release){
- if(eval("/thescript:stopclick") == false)
- {
- set("/:currentx",myx);
- set("/:currenty",myy);
- tempcount = 0;
- clearChecked();
- tempCount = getNumberSurrounding(myx,myy);
- _root.theScript.tempcount[myPlace] = tempcount;
- set("/:currentx",0);
- set("/:currenty",0);
- if(isbad == 1)
- {
- set("/thescript:stopclick",true);
- gotoAndPlay(85);
- _root.badApple.gotoAndPlay("start");
- }
- else
- {
- if(tempCount == 0)
- {
- clearSurounding(myx,myy);
- }
- else
- {
- set("/thescript:numleft",eval("/thescript:numleft") - 1);
- if(eval("/thescript:numleft") == 0)
- {
- set("/thescript:stopclick",true);
- }
- }
- gotoAndPlay(3);
- }
- }
- }
-